﻿<%@ Page Title="" Language="C#" MasterPageFile="~/teacheryemian/teachermain.Master" AutoEventWireup="true" CodeBehind="tealianxifangshi.aspx.cs" Inherits="zlh.teacheryemian.tealianxifangshi" %>
<asp:Content ID="Content1" ContentPlaceHolderID="teaContentPlaceHolder1" runat="server">
    <p>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <asp:Label ID="coursename" runat="server" CssClass="word" Text="学号："></asp:Label>
        <asp:TextBox ID="counametxt" runat="server" CssClass="textbox"></asp:TextBox>
    </p>
    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataSourceID="SqlDataSource1" HorizontalAlign="Center" Width="761px">
        <Columns>
            <asp:BoundField DataField="stuNo" HeaderText="stuNo" SortExpression="stuNo" />
            <asp:BoundField DataField="stuNAME" HeaderText="stuNAME" SortExpression="stuNAME" />
            <asp:BoundField DataField="telephone" HeaderText="telephone" SortExpression="telephone" />
            <asp:BoundField DataField="duanhao" HeaderText="duanhao" SortExpression="duanhao" />
            <asp:BoundField DataField="qqnumber" HeaderText="qqnumber" SortExpression="qqnumber" />
            <asp:BoundField DataField="weixinnumber" HeaderText="weixinnumber" SortExpression="weixinnumber" />
        </Columns>
        <HeaderStyle CssClass="gridxiewHeaderstyle" />
        <RowStyle CssClass="gridviewrowstyle" />
    </asp:GridView>
<p>
    &nbsp;</p>
    <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:dhd2014112130ConnectionString14 %>" SelectCommand="SELECT * FROM [stulianxifshi] WHERE ([stuNo] = @stuNo)">
        <SelectParameters>
            <asp:ControlParameter ControlID="counametxt" Name="stuNo" PropertyName="Text" Type="String" />
        </SelectParameters>
    </asp:SqlDataSource>
<p>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <asp:GridView ID="GridView2" runat="server" AutoGenerateColumns="False" DataSourceID="SqlDataSource2" HorizontalAlign="Center" AllowPaging="True" Width="786px">
        <Columns>
            <asp:BoundField DataField="stuNo" HeaderText="stuNo" SortExpression="stuNo" />
            <asp:BoundField DataField="stuNAME" HeaderText="stuNAME" SortExpression="stuNAME" />
            <asp:BoundField DataField="telephone" HeaderText="telephone" SortExpression="telephone" />
            <asp:BoundField DataField="duanhao" HeaderText="duanhao" SortExpression="duanhao" />
            <asp:BoundField DataField="qqnumber" HeaderText="qqnumber" SortExpression="qqnumber" />
            <asp:BoundField DataField="weixinnumber" HeaderText="weixinnumber" SortExpression="weixinnumber" />
        </Columns>
        <HeaderStyle CssClass="gridxiewHeaderstyle" />
        <RowStyle CssClass="gridviewrowstyle" />
    </asp:GridView>
    </p>
    <asp:SqlDataSource ID="SqlDataSource2" runat="server" ConnectionString="<%$ ConnectionStrings:dhd2014112130ConnectionString14 %>" SelectCommand="SELECT * FROM [stulianxifshi]">
    </asp:SqlDataSource>
</asp:Content>
